// 全局注入使用
import { getLangFromQuery } from '~/utils';
export const isRtl = process.server ? false : ['ar', 'ur'].includes(getLangFromQuery());
export const lang = process.server ? 'en' : getLangFromQuery();
// 是否全屏模式
export const isFullMode = () => {
    const route = useRoute();
    // 判断是否为半屏
    const { mode = false } = route.query;
    return mode === 'half' ? false : true;
};
